package com.heima.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JacksonInject;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Sku {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long skuId;
    private String skuName;
    private String skuImage;
    private Integer price;
    private Long classId;
    private Short isDiscount;
    private String unit;
    private String brandName;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private SkuClass skuClass;
}
